package com.woniu.zsd.permission.service;

import com.woniu.form.AddRoleForm;
import com.woniu.zsd.commons.core.model.Result;
import com.woniu.zsd.permission.entity.Roles;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-03-27
 */
public interface IRolesService extends IService<Roles> {

    int updateRole(Integer adminId, Integer role, Integer adminRole);

    List<Roles> selAllRole();

    void insertRole(AddRoleForm arf, Integer adminId);
}
